from rest_framework.generics import ListAPIView,RetrieveAPIView
from bowen.models import Bowen
from bowen.serializer import BowenSerializer,BowenContentSerializer


# Create your views here.
class BokeList(ListAPIView):
    queryset = Bowen.objects.all()
    serializer_class = BowenSerializer



class BokeContent(RetrieveAPIView):
    queryset = Bowen.objects.all()
    serializer_class = BowenContentSerializer